<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ArticleCat extends Model
{
    const ARTICLE_ID = 7; // articles
    protected $fillable = ['name'];
    protected $table='article_cat';

    public function Article()
    {
        return $this->hasMany(Article::class);
    }


    public function isEN()
    {
    	return 'EN' == $this->lan;
    }
}
